import GameController from "./game_controller";
import constants from "./constants";
import wx_opendata from "./wx/wx_opendata";

const {ccclass, property} = cc._decorator;

@ccclass
export default class MainScene extends cc.Component {
 
    onLoad(){
        
    }

    start () {
     
        GameController.getInst().startGame();
 
      //   GameController.getInst().gameOver();
    }

    

    onBackClick(){
        cc.director.emit(constants.GAME_EVENT.BtnClick);
        cc.director.loadScene("start");
    }
}
